package com.example.demo.domain.exam;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.demo.annotation.Display;
import com.example.demo.enums.LanguageType;
import lombok.Data;

@Data
@TableName(value = "exam_paper_question_language")
public class ExamPaperQuestionLanguage {

    @Display("关联标识")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    @Display("试卷标识")
    @TableField(value = "exam_paper_id")
    private Long paperId;

    @Display("题目标识")
    @TableField(value = "question_id")
    private Long questionId;

    @Display("语言类型")
    @TableField(value = "type")
    private LanguageType type;

}
